package main.db.entities;

public class FavoriteAdvert {
 
	private int id;
	private String advertName;
	private String advertUrl;
	
 
	public FavoriteAdvert(){}
 
	public FavoriteAdvert(String advertNameString, String advertUrlString){
		this.advertUrl = advertUrlString;
		this.advertName=advertNameString;
	}
 
	public int getId() {
		return id;
	}
 
	public void setId(int id) {
		this.id = id;
	}
 
	public String getadvertUrl() {
		return advertUrl;
	}
	
	public void setadvertUrl(String advertUrl){
		this.advertUrl=advertUrl;
	}
 
 
	public String getAdvertName() {
		return advertName;
	}

	public void setAdvertName(String advertName) {
		this.advertName = advertName;
	}
	
	public String toString(){
		return "ID : "+id+"\n" +
				"nom l'annonce : "+advertName+"\n"+
				"url de l'annonce : "+advertUrl+"\n";
	}
}